<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/templates/template_admin.xhtml">
        <ui:define name="content">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="InterviewID"/>
                    <h:outputText id="interviewID" value="#{hrmb.in.interviewID}" />
                    <h:outputText value="Status"/>
                    <h:selectOneMenu id="status" value="#{hrmb.in.status}" disabled="true">
                        <f:selectItem itemLabel="Yet" itemValue="1"/>
                        <f:selectItem itemLabel="ReView" itemValue="2" />
                    </h:selectOneMenu>
                    <h:outputText value="AVStatus"/>
                    <h:selectOneMenu id="AVStatus" value="#{hrmb.in.AVStatus}" disabled="true">
                        <f:selectItem itemLabel="Yet" itemValue="1"/>
                        <f:selectItem itemLabel="Reach" itemValue="2" />
                    </h:selectOneMenu>
                    <h:outputText value="StartedTime"/>
                    <h:outputText value="#{hrmb.in.startedTime}" >
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="EndedTime"/>
                    <h:outputText value="#{hrmb.in.endedTime}" >
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="EmployeeID"/>
                    <h:outputText value="#{hrmb.in.employeeID.firstName}#{hrmb.in.employeeID.lastName}" />
                    <h:outputText value="Cvid"/>
                    <h:outputText value="#{hrmb.in.cvid.vacancyID.title}-#{hrmb.in.cvid.applicantID.firstName}" />
                </h:panelGrid>
                <br />
                <h:commandButton action="ListInterview" value="Back"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
